import request from '@/router/axios'

export function queryPage (param) {
  return request({
    url: '/sys/api/v1/tenant/queryPage',
    method: 'post',
    data: param
  })
}

export function create (param) {
  return request({
    url: '/sys/api/v1/tenant',
    method: 'post',
    data: param
  })
}

export function modify (param) {
  return request({
    url: '/sys/api/v1/tenant',
    method: 'put',
    data: param
  })
}
